package com.financing.platform.dao;

import java.util.List;

import com.financing.platform.dto.SMSADDTO;

public interface ISMSADDao extends IBaseDao  {
	/**
	 * 
	 * @Title: listSmsAd
	 * @Description: 查询广告 
	 * @param @param smsAdDTO
	 * @param @return
	 * @param @throws Exception   
	 * @return List<SMSADDTO>   
	 * @throws
	 */
	public List<SMSADDTO> listSmsAd(SMSADDTO smsAdDTO) throws Exception;
	
	/**
	 * 
	 * @Title: addSmsAd
	 * @Description: 新增短信广告模板 
	 * @param @param smsAdDTO
	 * @param @return
	 * @param @throws Exception   
	 * @return int   
	 * @throws
	 */
	public int addSmsAd(SMSADDTO smsAdDTO) throws Exception;
	
	/**
	 * 
	 * @Title: deleteSmsAd
	 * @Description: 删除短信广告模板 
	 * @param @param id
	 * @param @return
	 * @param @throws Exception   
	 * @return int   
	 * @throws
	 */
	public int deleteSmsAd(Integer id) throws Exception;
	
	/**
	 * 
	 * @Title: querySMSAdInfo
	 * @Description: 查询单个短信广告模块 
	 * @param @param smsAdDTO
	 * @param @return
	 * @param @throws Exception   
	 * @return SMSADDTO   
	 * @throws
	 */
	public SMSADDTO querySMSAdInfo(SMSADDTO smsAdDTO) throws Exception;
	
}
